package com.zhq.blog.core.domain.system;

import javax.persistence.Entity;
import javax.persistence.Lob;

import com.zhq.blog.core.domain.BasePersistentDomain;

@Entity
public class Notice extends BasePersistentDomain<NoticeRepository> {

	private String name;
	private long display;
	@Lob
	private String content; 

	public Notice() {}
	
	
	public Notice(String name, long display, String content) {
		super();
		this.name = name;
		this.display = display;
		this.content = content;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	public long getDisplay() {
		return display;
	}
	public void setDisplay(long display) {
		this.display = display;
	}
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	
}
